package com.xiaou.pojo;

import java.util.Date;

public class Orders {
	/*
	 * CREATE TABLE `orders` (
  `id` int(11) NOT NULL,
  `number` int(11) DEFAULT NULL,
  `create_datatime` datetime DEFAULT NULL,
  `total` int(11) DEFAULT NULL,
  `user_id` int(11) DEFAULT NULL,
  `item_id` int(11) DEFAULT NULL,
	 */
	private Integer id;
	private Integer number;
	private Date createDatatime;
	private Integer total;
	private User user;
	private Items item;
	public Integer getId() {
		return id;
	}
	public Integer getNumber() {
		return number;
	}
	public Date getCreateDatatime() {
		return createDatatime;
	}
	public Integer getTotal() {
		return total;
	}
	public User getUser() {
		return user;
	}
	public Items getItems() {
		return item;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public void setNumber(Integer number) {
		this.number = number;
	}
	public void setCreateDatatime(Date createDatatime) {
		this.createDatatime = createDatatime;
	}
	public void setTotal(Integer total) {
		this.total = total;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public void setItems(Items items) {
		this.item = items;
	}
}
